package com.example.mp.util;

import lombok.Data;

@Data
public class Result<T> {
    private Integer code = 200;
    private String msg = "操作成功";
    private  T t;
    public  Result(T t){this.t = t;}
    public Result(){

    }
    public Result(Integer code, String msg,T t){
        this.code = code;
        this.msg = msg;
        this.t = t;
    }



}
